import request from '@/utils/request'

// 查询寻找极客侠活动中奖记录列表
export function listSeekLuckUser(query) {
  return request({
    url: '/business/seekLuckUser/list',
    method: 'get',
    params: query
  })
}

// 查询寻找极客侠活动中奖记录详细
export function getSeekLuckUser(id) {
  return request({
    url: '/business/seekLuckUser/' + id,
    method: 'get'
  })
}

// 新增寻找极客侠活动中奖记录
export function addSeekLuckUser(data) {
  return request({
    url: '/business/seekLuckUser',
    method: 'post',
    data: data
  })
}

// 修改寻找极客侠活动中奖记录
export function updateSeekLuckUser(data) {
  return request({
    url: '/business/seekLuckUser',
    method: 'put',
    data: data
  })
}

// 删除寻找极客侠活动中奖记录
export function delSeekLuckUser(id) {
  return request({
    url: '/business/seekLuckUser/' + id,
    method: 'delete'
  })
}
